<?php
namespace BoxPay\Widget;
class IndexWidget extends \WidgetController {
	/*****微信支付结算页面****/
	public function index($params) {
		$this->params = $params;
		$order_sn = $params['order_sn'];
		$this->data = BoxModel("system_order")->where(array('order_sn' => $order_sn))->find();
		$this->payment = BoxModel("system_payment")->where(array('payment_id' => $this->data['payment_id']))->find();
		$this->display();
	}

}